/**
 * @file Abacktrace_default.h
 * @author Moon
 * @brief Abacktrace default
 * @version 0.0.1
 * @date 2022-08-10
 * 
 */

#ifndef __BACKTRACE_DEFAULT_H__
#define __BACKTRACE_DEFAULT_H__

#include "Abacktrace_config.h"

#ifndef ABACKTRACE_USR_RTOS
#define ABACKTRACE_USR_RTOS             1           //是否使用操作系统(1:使用, 0:不使用)
#endif

#ifndef cmb_println
#include "A_log.h"
#define cmb_println(...)                LOG_E(__VA_ARGS__);ulog_flush()        //对外输出接口
#endif

/* cpu platform type, must config by user */
#ifndef CMB_CPU_PLATFORM_TYPE
//* CMB_CPU_ARM_CORTEX_M0 or CMB_CPU_ARM_CORTEX_M3 or CMB_CPU_ARM_CORTEX_M4 or CMB_CPU_ARM_CORTEX_M7 */
#define CMB_CPU_PLATFORM_TYPE          CMB_CPU_ARM_CORTEX_M4
#endif
#endif
